﻿<div class="box-out">
    <div class="box-in">
        <div class="box-head"><h1>Skapa meny</h1></div>
        <div class="box-content">
            <!--<div class="notification error">
                <div class="messages">Error messages <div class="close"><img src="img/icon/close.png" alt="close" /></div></div>
            </div><!-- end div .notification error -->
            <!--<div class="notification success">
                <div class="messages">Successfull messages <div class="close"><img src="img/icon/close.png" alt="close" /></div></div>
            </div><!-- end div .notification success -->
            <div class="notification warning">
                <div class="messages">Warning messages <div class="close"><img src="<?php echo $webb?>admin/img/icon/close.png" alt="close" /></div></div>
            </div><!-- end div .notification warning -->
            <!--<div class="notification info">
                <div class="messages">info messages <div class="close"><img src="img/icon/close.png" alt="close" /></div></div>
            </div><!-- end div .notification info -->
            <div class="form">
                <div id="accordion">
                    <div>
                        <h3><a href="#">Skapa meny</a></h3>
                        <form id="addMenuForm">
                            <fieldset>
                                <label for="menu_name">Namn </label>
                                <input type="text" name="name" class="text small" id="menu_name" /> <span style="color: #ff0000;" class="showError"></span>
                                <label for="parent_menu">Välj förälder</label>
                                <select id="parent_menu" class="text">
                                    <option value="0">Ingen förälder</option>
                                    <?php
                                    foreach($query as $key) {
                                        echo "<option value=\"$key->id\">$key->label</option>";
                                    }
                                    ?>
                                </select>
                                <input type="submit" value="Skapa menu" class="submit" onclick="return false" />
                            </fieldset>
                        </form>
                    </div>
                </div>
            </div><!-- end div .form -->
        </div><!-- end div .box-content -->
    </div><!-- end div .box-in -->
</div><!-- end div .box-out -->